﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
    /// <summary>
    /// 生产计划工序信息表
    /// </summary>
    [CustomAttribute(TableName = "pi_ProductionPlan_process", Description = "生产计划工序")]
    public class DbPlanGongXu
    {
        private int? _id;
        private string _plcode;
        private string _procode;
        private string _ordercode;
        private string _rowno;
        private string _gxcode;
        private string _gycode;
        private string _createuser;
        private string _createtime;
        private string _parentcode;
        private string _ppid;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 计划编码
        /// </summary>
        public string plCode
        {
            set { _plcode = value; }
            get { return _plcode; }
        }
        /// <summary>
        /// 存货编码
        /// </summary>
        public string proCode
        {
            set { _procode = value; }
            get { return _procode; }
        }
        /// <summary>
        /// 关联单据编码
        /// </summary>
        public string orderCode
        {
            set { _ordercode = value; }
            get { return _ordercode; }
        }
        /// <summary>
        /// 单据行号
        /// </summary>
        public string rowNo
        {
            set { _rowno = value; }
            get { return _rowno; }
        }
        /// <summary>
        /// 工序编码
        /// </summary>
        public string gyCode
        {
            set { _gycode = value; }
            get { return _gycode; }
        } 
        /// <summary>
        /// 工艺编码
        /// </summary>
        public string gxCode
        {
            set { _gxcode = value; }
            get { return _gxcode; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 工序是否是子节点
        /// </summary>
        public int? isChild { get; set; }
        /// <summary>
        /// 父节点
        /// </summary>
        public string parentCode {
            set { _parentcode = value; }
            get { return _parentcode; }
        } 
        
        /// <summary>
        /// 存货id
        /// </summary>
        public string ppId {
            set { _ppid = value; }
            get { return _ppid; }
        }
        
        /// <summary>
        /// 状态
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 是否允许报工
        /// </summary>
        public int? canBg { get; set; }
   
    }
}
